package com.kingdee.eas.ec.garden.settle.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.ec.garden.settle.GaDepOwnerSettleBillEntryCollection;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.basedata.BaseBillEntryCollection;
import com.kingdee.eas.ec.garden.settle.GaDepOwnerSettleBillEntryInfo;
import com.kingdee.eas.ec.contract.biz.ContractSettleEntryCollection;
import com.kingdee.eas.ec.basedata.ResourceEntryCollection;
import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.BillEntryBaseCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.ec.basedata.CbsEntryCollection;
import com.kingdee.eas.ec.contract.biz.app.ContractSettleEntryControllerBean;



public abstract class AbstractGaDepOwnerSettleBillEntryControllerBean extends ContractSettleEntryControllerBean implements GaDepOwnerSettleBillEntryController
{
    protected AbstractGaDepOwnerSettleBillEntryControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("D5032320");
    }

    public GaDepOwnerSettleBillEntryInfo getGaDepOwnerSettleBillEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("18d3440f-84bb-4661-90de-7274ce654c0a"), new Object[]{ctx, pk});
            invokeServiceBefore(svcCtx);
            GaDepOwnerSettleBillEntryInfo retValue = (GaDepOwnerSettleBillEntryInfo)_getValue(ctx, pk);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk);
    }

    public GaDepOwnerSettleBillEntryInfo getGaDepOwnerSettleBillEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("2a9bd529-961e-428c-9f16-9e6cfef7a7fa"), new Object[]{ctx, pk, selector});
            invokeServiceBefore(svcCtx);
            GaDepOwnerSettleBillEntryInfo retValue = (GaDepOwnerSettleBillEntryInfo)_getValue(ctx, pk, selector);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk, selector);
    }

    public GaDepOwnerSettleBillEntryInfo getGaDepOwnerSettleBillEntryInfo(Context ctx, String oql) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("53a3b33f-94d0-41d3-966e-6a8c686c800f"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaDepOwnerSettleBillEntryInfo retValue = (GaDepOwnerSettleBillEntryInfo)_getValue(ctx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
    {
        return super._getValue(ctx, oql);
    }

    public GaDepOwnerSettleBillEntryCollection getGaDepOwnerSettleBillEntryCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("17f05e94-e550-4eb2-a399-d12c432655bb"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaDepOwnerSettleBillEntryCollection retValue = (GaDepOwnerSettleBillEntryCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public GaDepOwnerSettleBillEntryCollection getGaDepOwnerSettleBillEntryCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("aabf59d5-58bb-4460-a886-c6bb1c1e7006"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            GaDepOwnerSettleBillEntryCollection retValue = (GaDepOwnerSettleBillEntryCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public GaDepOwnerSettleBillEntryCollection getGaDepOwnerSettleBillEntryCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("cea8eb87-97b0-4d9a-ad25-3063e6683739"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            GaDepOwnerSettleBillEntryCollection retValue = (GaDepOwnerSettleBillEntryCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(ContractSettleEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(ResourceEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx) throws BOSException
    {
    	return (CbsEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CbsEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (CbsEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(CbsEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(BaseBillEntryCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(BillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getGaDepOwnerSettleBillEntryCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}